﻿namespace HySoft.Cash.Structure
{
    using System;
    using Huayou.Utils;

    public class TempinfoDT
    {
        public string Address1;
        public string Address2;
        public string allFields = "Sid,OrgSid,OrgEmpSid,EmpName,FirstName,MiddleName,LastName,TaxFileNumber,PayStartDate,PayFrequency,NextPayday,NetPayment,Address1,Address2,PaymentDD,PaymentMM,PaymentYY,NextpayDD,NextpayMM,NextpayYY,IsValid";
        public string EmpName;
        public string FirstName;
        public int IsValid;
        public string LastName;
        public string MiddleName;
        public decimal NetPayment;
        public DateTime NextPayday;
        public string NextpayDD;
        public string NextpayMM;
        public string NextpayYY;
        public string OrgEmpSid;
        public int OrgSid;
        public string PayFrequency;
        public string PaymentDD;
        public string PaymentMM;
        public string PaymentYY;
        private DateTime payStartDate = DateUtils.MinDate;
        public DateTime PayStartDate
        {
            get { return this.payStartDate; }
            set { this.payStartDate = value; }
        }
        public int Sid;
        public string TaxFileNumber;
    }

    public enum EmpStatuses
    {
        Deleted=-1,
        Terminated=0,
        Active=1,
    }
}

